﻿echo on

cd ..\wsp 

SET SOLUTION_NAME=stsadm.webconfig.wsp
SET STSADM="C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin\stsadm"

%STSADM% -o execadmsvcjobs

REM ----- Add and depoly the solution -----
%STSADM% -o addsolution -filename %SOLUTION_NAME%
%STSADM% -o execadmsvcjobs

%STSADM% -o deploysolution -name %SOLUTION_NAME% -immediate -allowGacDeployment -force
%STSADM% -o execadmsvcjobs

pause